/**
 * 
 */
package com.iknight.mgr.mapper;

import java.io.Serializable;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.iknight.mgr.core.base.BaseMapper;

/**
 * @author Jeryzym
 * @param <PK>
 * @param <T>
 * @param <PK>
 *
 */
@Repository
public interface UserMapper<T extends Serializable, PK extends Serializable> extends BaseMapper<T, PK> {

    void updateUserPwd(@Param("user_id") String pKey, @Param("user_pwd") String newPwd,
                       @Param("user_salt") String saltValue);

	// public T getUserByUsername(@Param(value = "user_name") String username);

    T getUserInfoByName(@Param(value = "user_name") String username);
}
